CUW\App\Controllers\Store\Cart B

Total Complexity 99
Dependencies 6
Dependents 1
Total lines 288
Lines of code 192
Logical lines of code 105
Comment lines 68
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
applyDiscounts()
C
42 29 44
addItemText()
A
47 13 31
updateItemPrice()
A
55 9 17
checkCartItemExistingQuantity()
A
56 9 15
updateRegularPrice()
S
60 8 12
maybeRestoreOtherItems()
S
60 7 12
changeCartItemVariant()
S
53 6 21
maybeRemoveQuantityInput()
S
61 6 12
removeInvalidItems()
S
61 5 12
maybeRemoveOtherItems()
S
67 4 7
maybeRemoveRemoveLink()
S
65 3 9